[//HAI! I CAN HAZ LASSO?

	protect;
			var: 'calendarDate' = ((Var: $a_column_decrypted));
	/protect;
	
	$css_src_head->insert(pair('/_Makerator/jquery/date_input.css'='screen,projection'));

	'<fieldset ';
		'class="';
		If: (((Var: ($rewAction + '_Missing'))->(Find:$a_column_decrypted))->Size) > 0;
				'error';
		Else: (((Var: ($rewAction + '_Invalid'))->(Find:$a_column_decrypted))->Size) > 0;
				'error';
		Else;
				'';
		/If;
		'" >';
			'<label 
				for="' $a_column '"
				class="'(include('/_Makerator/_Library/form_required_flag.lasso'))'"
				>' + $field_label '
			</label>
			';
			
			$jquery_scripts->insert('
			$(function() {
				  $("#'+$a_column+'").date_input();
				});
			');
			//$jquery_scripts->insert(' $(".prettydate").prettyDate(); ');
			
			'
			<input 
				class=" date_input '(include('/_Makerator/_Library/form_required_flag.lasso'))'"
				type="text" 
				name="' + $a_Column + '" 
				id="' + $a_Column + '" 
				value="';

					if: (((Var: ($rewAction + '_Invalid'))->(Find:$a_column_decrypted))->Size) > 0;
					else: $a_default == 'blank' && (var: $a_column_decrypted) == '';
					else: $a_default == 'today';
							date->format('%m/%d/%Y %T');
					else: (Variable_Defined: $a_column_decrypted);
							if(var($a_column_decrypted) != ' ' && var($a_column_decrypted) != NULL);
							
							

									//var('datestring' =date(var($a_column_decrypted))->format('%QT%TZ'));
									
									(var($a_column_decrypted));
									
									//$datestring;
							Else;
									//$calendarDate != '' ? $calendarDate | date($a_default)->format('%m/%d/%Y %T');
							/If;
					else: $a_default == 'blank';
					Else;
							$calendarDate != '' ? $calendarDate | $a_default->format('%m/%d/%Y %T');
					/If;
					'" ';
				' >';
	'</fieldset>';


]